﻿using JT.WEB.Areas.Identity;
using JT.WEB.Areas.Identity.Data;
using JT.WEB.Models;
using JTWEB3.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

//[assembly: HostingStartup(typeof(IdentityHostingStartup))]
//namespace JT.WEB.Areas.Identity
//{
//    public class IdentityHostingStartup : IHostingStartup
//    {
//        public void Configure(IWebHostBuilder builder)
//        {
//            builder.ConfigureServices((context, services) =>
//            {
//                //services.AddDbContext<UserContext>(options =>
//                //    options.UseSqlServer(
//                //        context.Configuration.GetConnectionString("DefaultContextConnection"), b => b.UseRowNumberForPaging()));

//                //services.AddIdentity<JTWEB3User, IdentityRole>()
//                //    .AddEntityFrameworkStores<UserContext>().AddDefaultUI().AddDefaultTokenProviders();

//            });
//        }
//    }
//}